package com.itaq.cheetah.serviceB.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author cheetah
 * @date 2022/7/25
 */
@Data
@Component
public class ConfigProperties {

    @Value("${appId}")
    private String appId;

    @Value("${appSecret}")
    private String appSecret;

    @Value("${serviceA.rsa.publicKey}")
    private String serviceAPublicKey;

    @Value("${encrypt.rsa.publicKey}")
    private String selfPublicKey;

    @Value("${encrypt.rsa.privateKey}")
    private String selfPrivateKey;

    @Value("${encrypt.type}")
    private String encryptType;

}
